package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author NJUPT wly
 * @Date 2021/9/16 11:06 上午
 * @Version 1.0
 */
@Data
@ApiModel(value = "地址对象",description = "新增收获地址对象")
public class AddressRequest {

    /**
     * 是否默认收货地址：0->否；1->是
     */
    @ApiModelProperty(value = "是否默认地址，0->否；1->是",example = "0")
    @JsonProperty("default_status")
    private Integer defaultStatus;

    /**
     * 收发货人姓名
     */
    @ApiModelProperty(value = "收发货人姓名",example = "wly")
    private String receiveName;

    /**
     * 收货人电话
     */
    @ApiModelProperty(value = "收货人电话",example = "13906156545")
    private String phone;

    /**
     * 省/直辖市
     */
    @ApiModelProperty(value = "省/直辖市",example = "江苏省")
    private String province;

    /**
     * 市
     */
    @ApiModelProperty(value = "市",example = "无锡市")
    private String city;

    /**
     * 区
     */
    @ApiModelProperty(value = "区",example = "宜兴")
    private String region;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址",example = "君悦府邸")
    private String detailAddress;
}
